import React, { Component } from "react";
import { Link } from 'react-router-dom';
import {
  Divider
} from "antd";
export default class Home extends Component {
  constructor(props) {
    super(props);
    this.state = {}
  }
  componentWillUnmount() {
    this.setState = () => false;
  }
  render() {
    return <div>
      <h1>个人博客管理系统</h1>
      <div>
        <Link to="/blog/list">文章管理</Link>
        <Divider type="vertical" />
        <Link to="/blog/detail">编写文章</Link>
        <Divider type="vertical" />
        <Link to="/account">个人中心</Link>
      </div>
    </div>;
  }
}
